﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Gype.UI
{
    public class Brush
    {
        protected Brush()
        {
        }

        public static Brush SolidColorBrush(Rendertarget target, SlimDX.Color4 color)
        {
            return target.CreateSolidColorBrush(color);
        }

        public static Brush LinearGradientBrush(Rendertarget target, LinearGradientDescription gradientDescription)
        {
            return target.CreateLinearGradient(gradientDescription);
        }

        public static Brush RadialGradientBrush(Rendertarget target, RadialGradientDescription gradientDescription)
        {
            return target.CreateRadialGradient(gradientDescription);
        }
    }
}
